import VueRouter from 'vue-router'

import Home from '@/views/Home.vue'
import Element from "@/views/Element.vue";

export default new VueRouter({
    routes:[
        {
            path:'/',
            name:'Home',
            component:Home,
        },
        {
            path:'/Element',
            name:'Element',
            component:Element,
        },
        {
            path:'/Login',
            name:'Login',
            component: () => import('../views/Login.vue')
        },
        {
            path:'/Register',
            name:'Register',
            component: () => import('../views/Register.vue')
        }
    ]
})